package cn.kow.kmall.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;


@Data
public class OrderVO {

    private String orderNo;

    private String totalAmount;

    private String freight;

    private String discountAmount;

    private String couponAmount;

    private String payAmount;

    private Integer totalNum;

    private String orderStatus;

    private String consignee;

    private String phone;

    private String address;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date cancelTime;

    private List<OrderItemVO> itemList;
}
